<%@ page contentType="text/html;charset=UTF-8"%> 
<%
// 禁止页面缓存
response.setHeader("Pragma","No-cache");
response.setHeader("Cache-Control","no-cache");
response.setDateHeader("Expires", 0);
%>
<%@ include file="/framework/head.jsp"%>

<%
    //java.util.ArrayList list = (java.util.ArrayList)context.getValue("ErrorMsg");
    String errorInfo = context.getErrorMsg();
    
    String tSuccess = (String)context.getValue("success");
    String tFail = (String)context.getValue("fail");
    String tFailDetail = (String)context.getValue("faildownfailure");
    String tOutputPath = (String)context.getValue("faildown");
    
    int total = Integer.parseInt(tSuccess) + Integer.parseInt(tFail);
%>


<script language="javascript">

//function doImport()
//{
//   SetAction("toInputProductData");
//    frm.submit();
//}

function doReturn()
{
    SetAction("toBackInputData");
    frm.submit();
}

</script>

<form id=frm action="<%=Config.getSrv()%>" method="post">
<input type=hidden name="action_code">

<%=UIManager.addEditHeadTitle("批量导入产品信息结果")%>

<%=uiEditStart%>>
    <%=uiEditTR%>>
        <%=uiEditHeadTD%> width="30%">导入产品信息总数：</td><%=uiEditTD%>><%= total %></td>
    </tr>
    <%=uiEditTR%>>
        <%=uiEditHeadTD%> width="30%">导入成功的产品信息数量：</td><%=uiEditTD%>><%= tSuccess %></td>
    </tr>
    <%=uiEditTR%>>
        <%=uiEditHeadTD%> width="30%">导入失败的产品信息数量：</td><%=uiEditTD%>><%= tFail %></td>
    </tr>
    
<%=uiEditEnd%>

<%=uiCommandStart%>>
    <%=uiCommandTR%>>
        <%=uiCommandTD%>>                     
            <input type=button class="buttons" value="   返回   " onclick="doReturn(); return false;">
        </td>
    </tr>
<%
    if(errorInfo!=null&&!errorInfo.equalsIgnoreCase(""))
    {
%>
    <%=uiCommandTR%>>
        <%=uiCommandTD%>>
    <br>提示信息：<font color=red><%=errorInfo%></font><br>
    </td></tr>
<%  
    }
%>  
<%=uiCommandEnd%>
</form>



<%@ include file="/framework/foot.jsp"%>
<!--
    /System/back/productuploadview.jsp

-->